package model;

import java.util.Date;

public class Admin extends User {
    public Admin(String userId, String username, String password, String phone, Date registerTime) {
        super(userId, username, password, "管理员", phone, registerTime);
    }

    @Override
    public void showMenu() {
        System.out.println("\n=====管理员菜单=====");
        System.out.println("1. 修改自身密码");
        System.out.println("2. 重置用户密码");
        System.out.println("3. 列出所有用户");
        System.out.println("4. 删除用户");
        System.out.println("5. 查询用户");
        System.out.println("6. 增加用户");
        System.out.println("7. 修改用户信息");
        System.out.println("8. 退出登录");
        System.out.print("请选择功能: ");
    }
}